# 1、更新代码
git pull https://gitee.com/yellow-horse-and-lenin/renren-fast-vue.git


#rm -rf node_modules
rm -rf dist

npm install --registry=https://registry.npm.taobao.org

#npm install

npm run build

#rm -rf /home/nginx/www/*

#cp -rf dist/* /home/nginx/www/